<template>
  <div class="sign-contract" id="longbox">
    <div
      id="1"
      class="doc-page-content"
      v-for="(item, index) in imgsrc"
      :key="index"
    >
      <!-- 合同图片 -->
      <img :src="'data:image/png;base64,' + item.src" />
    </div>
  </div>
</template>

<script>
import { addContractPreview } from '@/api/contract'
export default {
  data() {
    return {}
  },
  created() {
    this.info()
  },
  mounted() {},
  methods: {
    async info() {
      addContractPreview()
    }
  }
}
</script>

<style scoped lang="less">
.sign-contract {
  height: 100%;
  .doc-page-content {
    position: relative;
    img {
      width: 100%;
      display: block;
      border-bottom: 1px solid springgreen;
    }
  }
}
</style>
